<?php
class LilcartHelper extends Helper {
	var $helpers = array('Html');
	
	function itemThumbUrl($item_id = null, $options = array()) {
		return $this->Html->url(Configure::read('LilcartPlugin.thumbsUrl').$item_id.'.jpg', true);
	}
	
	function itemThumbPath($item_id = null, $options = array()) {
		return Configure::read('LilcartPlugin.thumbsPath').$item_id.'.jpg';
	}
	
	function itemImageUrl($item_id = null, $options = array()) {
		return $this->Html->url(Configure::read('LilcartPlugin.imagesUrl').$item_id.'.jpg', true);
	}
	
	function itemImagePath($item_id = null, $options = array()) {
		return Configure::read('LilcartPlugin.imagesPath').$item_id.'.jpg';
	}

	function categoryImagePath($category_id = null, $options = array()) {
		return Configure::read('LilcartPlugin.categoriesPath').$category_id.'.gif';
	}
	
	function categoryImageUrl($category_id = null, $options = array()) {
		return $this->Html->url(Configure::read('LilcartPlugin.categoriesUrl').$category_id.'.gif', true);
	}
}
?>